<template>
	<div class="curd">
		<div><b>{{ title }}</b></div>
		<div>
			<slot></slot>
		</div>
	</div>
</template>

<script>
export default {
	props: {
		title: {
			type: String
		}
	}
}
</script>

<style lang="scss" scoped>
.curd {
	height: 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 10px;
	border-bottom: 1px solid #ccc;
}
</style>